package com.wn.mapper;

import com.wn.bean.House;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author yellow Docter
 * @date 2022 -07-14
 * @desc
 * @Mapper  标记 mapper
 *    springboot 启动的时候 会自动扫描 创建 HouseMapper 代理对象 添加到ioc容器中
 */
@Mapper
public interface HouseMapper {

//    @Select("select * from house")
    List<House> findAll();

}
